import request from '@/api/http.js'
export default {
  ad(params) {
    return request.get('/system.System/ad', { params })
  },

  messages(params) {
    return request.get('/system.Messages/messages', { params })
  },

  messagesUnreadTotal() {
    return request.get('/system.Messages/unreadTotal')
  },

  readMessages(data) {
    return request.post('/system.Messages/messages', data)
  },

  ricktext(params) {
    return request.get('/system.System/ricktext', { params })
  },

  fileUpload(data) {
    return request.post('/system.System/upload', data)
  },

  signin(data) {
    return request.post('/system.Signin/signin', data)
  },

  signinData(params) {
    return request.get('/system.Signin/signinData', { params })
  },

  faq() {
    return request.get('/system.System/faq')
  },

  feedback(data) {
    return request.post('/system.System/feedback', data)
  },
}
